package com.fangyibao.wxmini.entity;

import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * <p>
 * <p>
 * </p>
 *
 * @author Xinjie Chang
 * @since 2017-07-27
 */
@TableName("wx_log")
public class Log extends BaseEntity<Log> {

    private static final long serialVersionUID = 1L;

    /**
     * 1: wx 2: app 3: web
     */
    private Integer from;
    /**
     * 模块
     */
    private String module;
    /**
     * 错误代码
     */
    private Integer code;
    /**
     * 详情
     */
    private String detail;


    public Integer getFrom() {
        return from;
    }

    public void setFrom(Integer from) {
        this.from = from;
    }

    public String getModule() {
        return module;
    }

    public void setModule(String module) {
        this.module = module;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    @Override
    public String toString() {
        return "Log{" +
                "from=" + from +
                ", module=" + module +
                ", code=" + code +
                ", detail=" + detail +
                "}";
    }
}
